#include "sort.h"

void select_sort(STR_NUM **nums, int n)
{
    int i, j, k;
    for(i = 0; i < n-1; i++){
        k = i;
        for(j = i+1; j < n; j++){
            if(big_data_cmp(nums[k]->s, nums[j]->s) > 0){
                k = j;
            }
        }
        swap_big_date(nums, i, k);
    }
    return;
}

